package com.sdy.mapper;

import com.sdy.entity.Student;

import java.util.List;

/**
 * @program: ssm-sm
 * @author: sdy
 * @create: 2022-12-06 14:06
 **/
public interface StudentMapper {
    //通过id找学生
    Student SelectStudentByid(int sid);

    //查询所有学生
    List<Student> showAll();

    //删除学生
    int delStu(int sid);
    //修改学生
    int updStu(Student student);

    //添加学生
    int addStu(Student student);
}
